package org.csu.jpetmanage.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Repository;

import java.io.Serializable;

@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
@Repository
@TableName(value = "admin")
public class Admin implements Serializable {
    private static final long serialVersionUID = -5644799954031156649L;
    @TableId(value = "id", type = IdType.AUTO)
    public Integer id;
    public String username;
    public String password;
    public String name;

    public String address;
    public String telephone;
    public Integer rank;





}
